﻿/* 
 * author: www.cnblogs.com/luminji
 * date  : 2012/01/28
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Luminji.Core.reflect
{
    public class ObjectFactory
    {
        public static Object CreateInstance(Type t)
        {
            return Activator.CreateInstance(t);
        }

        public static Object CreateInstance(Type t, params object[] args)
        {
            return Activator.CreateInstance(t, args);
        }
    }
}
